@import '@/lib/reset.scss';
.singerheader{
  @include rect(100%,70px);
  background:#070707;
  padding:0 5%;
  h1{
    // margin-left:70px;
    @include rect(132px, 100%);
    @include flexbox();
    @include align-items();
    float: left;
    // @include justify-content();
    img{
      @include rect(132px, 46px);
      
    }
  }
  h2{
    float: left;
    color:#fff;
    @include rect(160px,100%);
    line-height: 70px;
    text-align: center;
    font-size: 24px;
  }
  .singerindex{
    @include rect(40px,70px);
    float: left;
    margin-left: 50px;
    li{
      @include rect(40px,70px);
      line-height: 70px;
      text-align: center;
      float: left;
      a{
        display: block;
        line-height: 70px;
        color: #dedede;
        font-size: 20px;
        &.active{
          color: #e91e63;
        }
      }
    }
  }
  .sousuo{
    height: 40px;
    width:300px;
    background-color: #232323;
    overflow: hidden;
    border-radius: 40px;
    position: relative;
    padding-left:10px;
    float: right;
    margin-top:15px;
    input{
      width: 200px;
      height: 40px;
      padding: 10px 0;
      outline: 0;
      border: 0;
      transition: width .6s;
      background-color: #232323;
      color: #fff;
      font-size: 14px;
    }
    .btn-search{
      position: absolute;
      top: 0;
      right: 0;
      transition: all .3s;
      cursor: pointer;
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      background-color: #232323;
      border-radius: 40px;
      i{
        color: #999;
        font-size: 20px;
      }
    }
  }
  .singer_r{
    float: right;
    p{
      float: left;
      margin-left:40px;
      a{
        color: #ccc;
        font-size: 14px;
        line-height: 70px;
        &:hover{
          color:#E30078;
        }
      }
    }
  }
}
// 轮播图
.singerbanner{
  @include rect(100%,370px);
  .swiper-container{
    @include rect(100%,370px);
    .swiper-wrapper{
      @include rect(100%,370px);
      .swiper-slide{
        @include rect(100%,370px);
        img{
          @include rect(100%,370px);
        }
      }
    }
  }
}

// 内容
.singercon{
  @include rect(90%, auto);
  margin:0 auto;
  div{
    // width: 100%;
    margin: 0 auto 101px;
    .title{
      font-size: 36px;
      color: #191919;
      margin-top: 80px;
      margin-bottom: 40px;
      position: relative;
      text-align: center;
      a{
        position: absolute;
        bottom: 0;
        right: 0;
        color: #666;
        font-size: 14px;
      }
    }
  }
  .swiper-container{
    @include rect(100%,390px);
    margin:0 auto;
    .swiper-wrapper{
      @include rect(100%,390px);
    }
    .swiper-slide{
      @include rect(100%,390px);
      div{
        @include rect(25%,390px);
        overflow: hidden;
        position: relative;
        img{
          @include rect(100%,390px);
          display: block;
          float: left;
          margin:0;
          &:hover{
            transform: scale(1.1);
            transition: all 0.35s linear;
          }
        }
        // 歌手介绍 分享
        dl{
          @include rect(100%, 80px);
          background:#3b3b3b;
          position: absolute;
          bottom:0;
          dt{
            @include rect(100%, 90px);
            padding-left:10px;
            p{
              font-size: 16px;
              color:#fff;
              text-align: left;
              line-height: 25px;
              margin-top:10px;
            }
            span{
              font-size: 12px;
              color: #999;
              text-align: left;
              display:block;
            }
          }
          dd{
            @include rect(40px, 40px);
            position: absolute;
            top:18px;
            right:18px;
            display: none;
            i{
              color:#fff;
              @include rect(35px, 35px);
              border:2px solid #fff;
              border-radius: 50%;
              display: block;
              line-height: 35px;
              text-align: center;
            }
          } 
        }
        // 划过div显示分享
        &:hover{
          dd{
            display: block;
          }
        }
        &:nth-of-type(even) dl{
          background: #262626;
        }
      }
    }
  }
  &:hover{
    .swiper-button-next{
      display: block;
    }
    .swiper-button-prev{
      display: block;
    }
  }
  .swiper-button-next{
    display: none;
  }
  .swiper-button-prev{
    display: none;
  }
}